<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>用户登录</title>
</head>
<body>
<h1>用户登录</h1>

<form th:action="@{/signin}" method="post">
  <div>
    <label for="username">用户名:</label>
    <input type="text" id="username" name="username" required>
  </div>
  <div>
    <label for="password">密码:</label>
    <input type="password" id="password" name="password" required>
  </div>
  <button type="submit">登录</button>
</form>

<p>没有账号？<a href="/signup">立即注册</a></p>
</body>
</html>